package design.mode.procedure.mysql.bean;

import lombok.Data;

public class Product {
    private String pname;
    private double marketPrice;

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(double marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Product() {
    }

    public Product(double marketPrice) {
        this.marketPrice = marketPrice;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pname='" + pname + '\'' +
                ", marketPrice=" + marketPrice +
                '}';
    }
}
